<div class="content_filtro">
    
    <div class="content-btn">
    </div>
    
</div>
<?php
    $db = Zend_Db_Table_Abstract::getDefaultAdapter();
?>
<div class="content-list">
    
    <h2><?php echo $this->titulo;?></h2>
    
    <table id="tlist">
        <thead>
            <tr>
                <th>Data</th>
                <th>Nome</th>
                <th>Cidade</th>
                <th>Tel</th>
                <th>E-mail</th>
                <th>Produto</th>
                <th class="bc">&nbsp;</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($this->result as $row) { ?>
                <tr>
                    <td><?php echo Datetools::amd_dma($row['INT_DAT']); ?></td>
                    <td><?php echo $row['INT_NOM']; ?></td>
                    <td><?php echo $row['INT_CID']; ?></td>
                    <td><?php echo $row['INT_TEL']; ?></td>
                    <td><?php echo $row['INT_EML']; ?></td>
                    <td><?php echo $row['PRO_NOM']; ?></td>
                    <td class="bc">
                        <?php if($this->per_edt){?><a class="btn-pdr" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'edit', 'id' => $row['INT_ID'])); ?>">Dados</a><?php }?>
                        <?php if($this->per_del && $row['INT_STA'] == 0){?><a class="btn-pdr" href="javascript:void(0);" onclick="list_delete_msg('<?php echo $this->controller; ?>', <?php echo $row['INT_ID'] ?>, $(this), '<?php echo $row['INT_NOM'] ?>');">Deletar</a><?php }?>
                    </td>
                </tr>
            <?php } ?>
        </tbody>
    </table>
</div>
<?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>